
cvStereoEstimation: hw3.cpp hw3.h
	g++  -I/usr/include/opencv -I/usr/local/include/opencv -lm -lcv -lcxcore -lhighgui hw3.cpp -o cvStereoEstimation 


.PHONY:test
test: cvStereoEstimation
	./cvStereoEstimation -d --depth depth_img.jpg --conf conf_img.jpg -o gray_img.jpg ../stereo1-left.png ../stereo1-right.png

.PHONY:test2
test2: cvStereoEstimation
	./cvStereoEstimation -d --depth depth_img.jpg --conf conf_img.jpg -o gray_img.jpg ../stereo2-left.png ../stereo2-right.png

.PHONY:clean
clean:
	$(RM) cvStereoEstimation
